﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Domain.PlcBytesObject;
using Zocono.WCS.Infrastructure.ApllicationDto.WmsModel;

namespace Zocono.WCS.Domain.PlcWriteBoMangeDomain
{
    public interface IPlcWriteBoService:IDomainService
    {
        Task<bool> WCSSetPlanerPLCAsync(PlanarGeneralWriteWcsAction wcsActionBO);

        Task<bool> WCSSetSCPLCAsync(ZJNScMessageWriteWcsActionBO wcsActionBO);
        Task<bool> OperatePlanarPlcBoAsync(PlanarGeneralWriteWcsAction wcsActionBO);

        Task<bool> DoorOpenAlarmAsync(List<CapacityDoorOpen> capacityDoorOpen);


        /// <summary>
        /// 写入plcDB  暂时恒翼能上报设备状态使用
        /// </summary>
        /// <param name="wcsActionBO"></param>
        /// <returns></returns>
        Task<bool> WCSSetPlanerPLCWriteAsync(HynReturnState returnState);

    }
}
